<?php

namespace common\model;

use think\model\RelationModel;
use teamones\dbeventObserver\interfaces\SplSubject;
use teamones\dbeventObserver\SplSubjectEnforcer;

class ReviewFeedbackConfirmModel extends RelationModel implements SplSubject
{
    use SplSubjectEnforcer;

    // 自动验证
    protected $_validate = [
        ['review_feedback_id', '', '', self::EXISTS_VALIDATE, 'integer'],
        ['user_id', '', '', self::EXISTS_VALIDATE, 'integer'],
    ];

    // 自动完成
    protected $_auto = [
        ['created', 'time', self::MODEL_INSERT, 'function'],
    ];



}
